#-------------------------------------------------
#
# Project created by QtCreator 2014-10-09T10:56:42
#
#-------------------------------------------------

QT       += core gui printsupport network sql concurrent

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = OriginPACS
TEMPLATE = app

DEFINES += HAVE_PROTOTYPE_GETHOSTNAME
DEFINES += NOMINMAX
DEFINES += _REENTRANT
DEFINES -= UNICODE
QMAKE_CFLAGS_RELEASE += /MD
QMAKE_CFLAGS_DEBUG += /MDd
QMAKE_CXXFLAGS_RELEASE += /MD
QMAKE_CXXFLAGS_DEBUG += /MDd

QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01

DCMTK = $$quote("C:\Program Files (X86)\DCMTK_MD")
DCMTK_INCLUDE = $$DCMTK"\include"
INCLUDEPATH += $$DCMTK_INCLUDE
DCMTK_LIB = $$DCMTK"\lib"
LIBS += $$DCMTK_LIB"\*.lib"
LIBS += advapi32.lib wsock32.lib netapi32.lib ws2_32.lib user32.lib

RC_ICONS = Resources/images/window.ico
TRANSLATIONS += originpacs_cn.ts

RESOURCES += \
    resources.qrc

HEADERS += \
    DicomService/echoscu.h \
    DicomService/findscuthread.h \
    DicomService/storescuthread.h \
    GraphicsItem/abstractpathitem.h \
    GraphicsItem/graphicsangleitem.h \
    GraphicsItem/graphicsarrowitem.h \
    GraphicsItem/graphicscliprectitem.h \
    GraphicsItem/graphicscobbangleitem.h \
    GraphicsItem/graphicscrossitem.h \
    GraphicsItem/graphicsellipseitem.h \
    GraphicsItem/graphicslineitem.h \
    GraphicsItem/graphicsrectitem.h \
    GraphicsItem/graphicssimpletextitem.h \
    GraphicsItem/graphicstextmarkdialog.h \
    GraphicsItem/graphicstextmarkitem.h \
    MainStation/exportimagedialog.h \
    MainStation/exportimagethread.h \
    MainStation/itemdelegates.h \
    MainStation/logindialog.h \
    MainStation/mainwindow.cpp.autosave \
    MainStation/mainwindow.h \
    MainStation/mainwindow.h.autosave \
    MainStation/registerdialog.h \
    MainStation/resetpassworddialog.h \
    MainStation/sendstudydialog.h \
    MainStation/usergroupmodels.h \
    share/configfiles.h \
    share/global.h \
    StructuredReport/diagnostictemplatemodel.h \
    StructuredReport/reportwidget.h \
    StructuredReport/srsettingsdialog.h \
    share/dicomscp.h \
    DicomService/printscu.h \
    MainStation/printparamdialog.h \
    MainStation/studyexplorerwidget.h \
    StructuredReport/reporteditwidget.h \
    MainStation/archivewidget.h \
    MainStation/systemsettingswidget.h \
    MainStation/dicomscpmodel.h \
    MainStation/localsettings.h \
    MainStation/timelabel.h \
    MainStation/sqlstudymodel.h \
    MainStation/sqlstudyview.h \
    MainStation/sqlimagemodel.h \
    MainStation/sqlimageview.h \
    MainStation/sqlreportmodel.h \
    MainStation/sqlreportview.h \
    share/studyrecord.h \
    MainStation/grouppermissionmodel.h \
    MainStation/grouplistview.h \
    MainStation/importstudymodel.h \
    MainStation/scandcmfilethread.h \
    MainStation/importstudyview.h \
    MainStation/importdcmfilethread.h \
    StructuredReport/mdisubwindow.h \
    MainStation/studydbmanager.h \
    MainStation/logdbmanager.h \
    MainStation/modifystudythread.h \
    StructuredReport/diagnostictemplateview.h \
    StructuredReport/newitemdialog.h \
    StructuredReport/diagnostictemplatedelegate.h \
    MainStation/exitwidget.h \
    MainStation/eventselectionmodel.h \
    MainStation/freespacelabel.h \
    MainStation/setlicencedialog.h \
    DicomService/storescpthread.h \
    ImageEdit/imageeditdialog.h \
    ImageEdit/imageeditgraphicsview.h \
    ImageView/dicomimagelabel.h \
    ImageView/dicomimageview.h \
    ImageView/imageinstance.h \
    ImageView/imageinstancedata.h \
    ImageView/imageloadthread.h \
    ImageView/imageviewwidget.h \
    ImageView/thumbnailbarwidget.h \
    Worklist/studyregisterwidget.h \
    Worklist/patientselectdialog.h \
    Worklist/sqlpatientmodel.h \
    Worklist/sqlwlisttablemodel.h \
    Worklist/worklistdialog.h \
    Worklist/sqlwlisttableview.h \
    Worklist/newstudydialog.h \
    DicomService/movescuthread.h \
    MainStation/findscudialog.h \
    Worklist/sortfilterproxymodel.h \
    Worklist/wlscpthread.h \
    Worklist/wlistpatient.h \
    Worklist/wlistsourcemodel.h \
    Worklist/customizecolumndialog.h \
    Worklist/privatetag.h \
    Worklist/wlisttableview.h \
    ImageView/rawimageconfigdialog.h

SOURCES += \
    DicomService/echoscu.cpp \
    DicomService/findscuthread.cpp \
    DicomService/storescuthread.cpp \
    GraphicsItem/abstractpathitem.cpp \
    GraphicsItem/graphicsangleitem.cpp \
    GraphicsItem/graphicsarrowitem.cpp \
    GraphicsItem/graphicscliprectitem.cpp \
    GraphicsItem/graphicscobbangleitem.cpp \
    GraphicsItem/graphicscrossitem.cpp \
    GraphicsItem/graphicsellipseitem.cpp \
    GraphicsItem/graphicslineitem.cpp \
    GraphicsItem/graphicsrectitem.cpp \
    GraphicsItem/graphicssimpletextitem.cpp \
    GraphicsItem/graphicstextmarkdialog.cpp \
    GraphicsItem/graphicstextmarkitem.cpp \
    MainStation/exportimagedialog.cpp \
    MainStation/exportimagethread.cpp \
    MainStation/itemdelegates.cpp \
    MainStation/logindialog.cpp \
    MainStation/mainwindow.cpp \
    MainStation/registerdialog.cpp \
    MainStation/resetpassworddialog.cpp \
    MainStation/sendstudydialog.cpp \
    MainStation/usergroupmodels.cpp \
    share/global.cpp \
    StructuredReport/diagnostictemplatemodel.cpp \
    StructuredReport/reportwidget.cpp \
    StructuredReport/srsettingsdialog.cpp \
    main.cpp \
    share/dicomscp.cpp \
    DicomService/printscu.cpp \
    MainStation/printparamdialog.cpp \
    MainStation/studyexplorerwidget.cpp \
    StructuredReport/reporteditwidget.cpp \
    MainStation/archivewidget.cpp \
    MainStation/systemsettingswidget.cpp \
    MainStation/dicomscpmodel.cpp \
    MainStation/localsettings.cpp \
    MainStation/timelabel.cpp \
    MainStation/sqlstudymodel.cpp \
    MainStation/sqlstudyview.cpp \
    MainStation/sqlimagemodel.cpp \
    MainStation/sqlimageview.cpp \
    MainStation/sqlreportmodel.cpp \
    MainStation/sqlreportview.cpp \
    MainStation/grouppermissionmodel.cpp \
    MainStation/grouplistview.cpp \
    MainStation/importstudymodel.cpp \
    MainStation/scandcmfilethread.cpp \
    MainStation/importstudyview.cpp \
    MainStation/importdcmfilethread.cpp \
    StructuredReport/mdisubwindow.cpp \
    MainStation/studydbmanager.cpp \
    MainStation/logdbmanager.cpp \
    MainStation/modifystudythread.cpp \
    StructuredReport/diagnostictemplateview.cpp \
    StructuredReport/newitemdialog.cpp \
    StructuredReport/diagnostictemplatedelegate.cpp \
    MainStation/exitwidget.cpp \
    MainStation/eventselectionmodel.cpp \
    MainStation/freespacelabel.cpp \
    MainStation/setlicencedialog.cpp \
    DicomService/storescpthread.cpp \
    ImageEdit/imageeditdialog.cpp \
    ImageEdit/imageeditgraphicsview.cpp \
    ImageView/dicomimagelabel.cpp \
    ImageView/dicomimageview.cpp \
    ImageView/imageinstance.cpp \
    ImageView/imageinstancedata.cpp \
    ImageView/imageloadthread.cpp \
    ImageView/imageviewwidget.cpp \
    ImageView/thumbnailbarwidget.cpp \
    Worklist/studyregisterwidget.cpp \
    Worklist/patientselectdialog.cpp \
    Worklist/sqlpatientmodel.cpp \
    Worklist/sqlwlisttablemodel.cpp \
    Worklist/worklistdialog.cpp \
    Worklist/sqlwlisttableview.cpp \
    Worklist/newstudydialog.cpp \
    DicomService/movescuthread.cpp \
    MainStation/findscudialog.cpp \
    Worklist/sortfilterproxymodel.cpp \
    Worklist/wlscpthread.cpp \
    Worklist/wlistpatient.cpp \
    Worklist/wlistsourcemodel.cpp \
    Worklist/customizecolumndialog.cpp \
    Worklist/wlisttableview.cpp \
    ImageView/rawimageconfigdialog.cpp

FORMS += \
    GraphicsItem/graphicstextmarkdialog.ui \
    MainStation/exportimagedialog.ui \
    MainStation/logindialog.ui \
    MainStation/mainwindow.ui \
    MainStation/registerdialog.ui \
    MainStation/resetpassworddialog.ui \
    MainStation/sendstudydialog.ui \
    StructuredReport/reportwidget.ui \
    StructuredReport/srsettingsdialog.ui \
    MainStation/printparamdialog.ui \
    MainStation/studyexplorerwidget.ui \
    StructuredReport/reporteditwidget.ui \
    MainStation/archivewidget.ui \
    MainStation/systemsettingswidget.ui \
    StructuredReport/newitemdialog.ui \
    MainStation/exitwidget.ui \
    MainStation/setlicencedialog.ui \
    ImageEdit/imageeditdialog.ui \
    ImageView/imageviewwidget.ui \
    Worklist/studyregisterwidget.ui \
    Worklist/patientselectdialog.ui \
    Worklist/worklistdialog.ui \
    Worklist/newstudydialog.ui \
    MainStation/findscudialog.ui \
    Worklist/customizecolumndialog.ui \
    ImageView/rawimageconfigdialog.ui


